package com.frank.config;

import com.frank.entity.ValueAnno;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author: huweifeng
 * @Date: 2022/11/28
 * @Description: 属性注入相关配置类
 **/
@Configuration
@PropertySource("classpath:application.properties")
public class PropertyConfig {
    @Bean
    public ValueAnno valueAnno() {
        return new ValueAnno();
    }
}
